package com.example.medical_delivery_system.dao;


import com.example.medical_delivery_system.entity.AdminUser;
import org.apache.ibatis.annotations.Param;

/**
 * Param：20201003013
 * Author：李镇荣
 * Data：2022/12/21
 */
public interface AdminManageUserMapper {
    int insert(AdminUser record);

    int insertSelective(AdminUser record);

    /**
     * 登陆方法
     *
     * @param userName
     * @param password
     * @return
     */
    AdminUser login(@Param("userName") String userName, @Param("password") String password);

    AdminUser selectByPrimaryKey(Long adminUserId);

    int updateByPrimaryKeySelective(AdminUser record);

    int updateByPrimaryKey(AdminUser record);
}